import React, { Component } from 'react'
import observer from '@/utils/observer';
export default class TT extends Component {
    componentDidMount(){
        observer.subscribe(this.getMsg)
      }
        
      getMsg=(arg)=>{
        console.log('TT方:',arg);
      }
    render() {
        return (
            <div style={{ width: '100px', height: '150px', background: 'pink' }}>TT</div>
        )
    }
}
